Works in Firefox now, with major issues. Fixed mouse coords. Cleaned out.