better gui handling
updated __doc__ string