Minor bug fixes to Enumerated.
Added feature to logging to redirect System.out and System.err to logging system.