fixed gui/python/console issues