Improved automatic resizing of components, so they work better on a mac.
All resizing should now be done without hardcoded numbers.