Add editor, other misc fixes and features.