Replaced Chrome-specific mouse event property

With a standard equivalent. (Fixes a FireFox bug)
Fixed an IE-only problem

With event.dataTransfer
Local storage errors in IE no longer reported

They are only logged since they occur regularly.
Implemented scales

Only partially working with robots so far.
Updated comments and deleted commented out code

Using the convention that TODO: marks code I should return to.