Added error logging to stderr to NickModule