Edit Mode & NAnt

Hide the module when not in edit mode

Fix issues with building on TeamCity