Moved a ton of functionality into TabControl