GUI development

- GUI seens to work in a mysterious way
- once started, cannot be stoped (the engine thread must be integrated)