Dont use sudo for root commands
Always call Shutdown if Prepare is called
Various fixes for pre/post launch