add new ui.c where several UI functions are now moved to

add auto-scaling of UI depending on screen resolution - resolves #682

(0) -100 -30 -10 -2 +2 +10 +30 tip

mercurial