Fix with GUI

Fixed the GUI not working properly with a DPI 125% or 150% on Windows
Added an option for enable/disable the using the console