Use sprintf() instead of $.sprintf(). Closes #41
Making sure 'logger' in __ini__.py gets initialized only once. This should close #40.
Log formatting.