Cleaned up some tab resizing issues. Still probably more to do.