Better tab sizing and scaling