Cleaned up QMController.java

Removed unnecessary imports, replaced java 8 lambda expression with an
instance of Runnable, and finished commenting methods.