Refactored some code. Renamed methods.
Renamed a ArrangeGui class to CreateAndArrangeGui. Refactored some code.