Removed old commented code from BasePanel