[Editor] Implemented loading previous project option.

Fixed not being able to debug during the MainWindow constructor.