Added main timing loop, GUI, and styling