GUI changes and implementation of helper class for GUI elements.