Extended GUI structure. Added elements, handlers.