Improved SimpleGui, added Tkinter support

This branch improves commit 19f6864fb45b5cb32278444714449091448fb0fa from the pull request #124.