bugfixes and updates to moduleEditor