sped up main loop

refactor main loop for slight speed up. added main loop timeout. added
outline for hardware drawing of characters, need to work on that though