More GUI design. Created RadioPanel class. Code length reduced.