Refactor thread-safety on MainWindow.getInstance()
Refactor thread-safety on MainWindow.getInstance()

This removes an unneeded lock object, replacing it with a traditional synchronized keyword.

No functional changes should be introduced by this change.

igniterealtime/Spark,igniterealtime/Spark,igniterealtime/Spark,guusdk/Spark,guusdk/Spark,guusdk/Spark,guusdk/Spark,igniterealtime/Spark