Fixed command line processing bugs
Added -trace to help output