Implemented formatted logging helper functions.
Fixed module enter/exit messages in system.fs.