Added basic gui rendering code

This uses a layout that will not work for intended final design. Use for
now.