More framework work. Next step is creating a generic custom GUI class.