Move logging to properties file.
Move close window action into separate class.
All windows are closed by the same action.