setting the priority filter, and added code for thread safety. added code to apps to enable thread safety in CLog.