Cleaned up GUI element implementations a bit by letting them use a shared base class.