Latest changes with rudimentary UI system.