Remove ineffectual sync.WaitGroup usage
Fix wrong RGB -> LAB conversion
Cleanup command-line flags and add option to dump CPU profile