Added static finals for states of each class. Changed checks to use the static final instead of the actual constant barring messageQueue.run() - while loop which is having issues