Rewrote EditManager; fixed minor HermitServer bug