Merge pull request #4 from amaranth/makefile

Makefile improvements
Start work on events
Try a different approach to handling events