Fixed Null Pointer Exception

It was caused by me culling dispose on the object info frame when the object
frame closes without checking if it is null.