Fixed issue #14 (Skyrider dialog incorrect position)

Also fix miners' dialog positions
Fixed issue #15 (Editor high res issues)

and many more editor issues in high resolution
Refactoring: remove some code duplication