First pass at scaling

Everything looks really blurry on iOS.
Fixed line wrapping in palette labels
Fixed green flag
Switched to a scaling method that works on iOS