Core, mceditor, mcviewer and mcdiffviewer code tweak and cleanup