Fix errors in screen coordinates calculate for simulated mouse events.

Cleanup file formatting.

Update version numbers in pubspec.yaml.