Initial
Fixed typo in comment string.
Better logging of merrages and actions. Added initial support for file-based stream redirection.