logging, bug fixes, disabling email