This also solved a similar set of problems for me (restarts hanging, shut down hanging, first ever BSOD on my Surface Pro 3 with DRIVER_POWER_STATE_FAILURE). I found I couldn't uninstall the pen...