removed microsoft specific (pragma) to support GCC compiler. GuiInterface class was created.