GUI: keeping element positions on window resize

This helped too - needed to take in account the scaling of the screen. So many moving parts