Draft: Do not create new instances when one is already open
Prior to this, it was possible to run multiple duplicate GUI instances in Windows at once, when trying to open the application again while already open. This could easily result in running several instances at once for no reason, and have the risk of creating conflicts. This change makes new instances close when detecting one already running.
Tested and working.
Edited by RedBlackAka