Fixed Startup and Shutdown Functions

Fixed Power On and Off functions and added Page Flips