bug fixes

load code into myCodeMirror
only try to load code if there is a search param