Fixed some bugs related to the new logging system.
1.3.3.1