misc bug fixes to console and editor