Resizable tabs

Adds functionality for auto-resizing tabs based on how many are open and has a default size.