Refactored again (broke gui into pieces, IUP seems to be having problems with nested containers