#149 added checks
added lockout as per #146, defualts to a week, changable in settings