Fix removal of modules without versions.
Enable echo'ing of non-string messages.
Fix error with empty/multi-line categories.