refactoring template system
saving half-done, about to try a real-time version
fixed events system and refactored clips view
fixed some UI bugs, and implemented YIN pitch detection (aw yeah!  thanks tarsos!)