Only edited the code style.

Began working on making the mainWindow the parent of every other window but will do it at a later time.