Disable edit links if a task is not locked

Issue #186
Enable logger, expects __name__ not __file__