Check _centerPanel exists

Check that _centerPanel exists before removing it's observers
Merge pull request #62 from alias1/checkBeforeRemoveObservers

Check _centerPanel exists