adding codemirror for file uploads
set cursor in editor according to scan results
output for empty result set & emptying error sometimes