Prettied things up

I've removed the imports and changed the code to use direct class
references. I've also removed the isCloseReuqested method in the main
window class, along with the variable.

We now determine if it is close requested from a method that always
returns false in the Application class.