amidi-plug: Remove unused code.
amidi-plug: Pause is handled transparently by core now.
amidi-plug: Rewrite play loop to run in a single thread.  Simplify timing calculations.