Added power buttons
Got rid of runtime errors