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