BROKEN: Still doing GUI stuff. Trying inheritance after all.