Finished the restart and screen blanking functionality