Cleaned up some unnecessary variables and added some comments and alert updates - might add a restart button ...