Fixed part of the multi-tab problem described in issue #10 (opening a report within the report window), and fixed a problem in OnKeyClick where it wouldn't display the content if the type was str