Compacted gui element functions and added validation