Fixed bugs in Update-mcedit
TODO: Work on cleanup