Make margins and positions proportional to resolution (ref #202)
Remove usage of zoom (ref #202)
Cleanup and fix position rounding (fixes #202)