reduced memory usage by code cleaning and recycling of GUI dialogs