Added OutOfMemoryError exception handling to PanelListener (can occur
when using the getFileContents API call)
Fixed NPE when initializing EventDispatcher