Fixed the panel bug (so simple debugger should work fine now when you change watch/output panels).

Plus Open Imported Dialog now checks the directory of the file first, and the replace bug has been fixed.