Added OS and powered off options. General cleanup.