The great GUI refactor.
Signed-off-by: Chris Sanders <zidane@outlook.com>