Changes...

Changed the main looper to restart the device if it exits, also added a
looper for the status