added some helper functions
added IGui interface
notify gui on current model changed
minors