Log done. Closes #5
Key events are now recognized proberly