Created common supreclass for gui containers.

Implemented helper stuff for coordinates/AABB.