Removes more useless code from Tab Manager