added mouse coord merge to dist, formatting