Refactoring CeSymmMain

Cleaner, more modular output handling.