Now warns when about to shut down

Also asks for root earlier so I can walk away 4 seconds sooner.