Make use of the system clipboard on windows
Apply fixes to Gui class to be able to use the system clipboard on windows