Fix unnecessary defines in edit mode and misc. docs