Polishing the Jacob excuse editor and some general refactoring and cleanup