using MouseEvent layerX/offsetX instead of pageX for pixels to be relative to the canvas.

removing some dependencies so that a stand alone track can be used properly in airtime.