fixed restart and exit buttons, added new features