Added note timing, converted bindings to singleton

Should probably be two commits, but I'm lazy. Note timing will now trigger
inside of a buffer. The bindings have been modified to act as a singleton, and
no pointers are passed around anymore.