Removed redundant global variable
Change status indicator updating to being event driven
Corrected whitespace errors
Status updating now event driven
Removed redundant globals
Corrected bug