Fix segfault, make cmpsong ignore case and make print statements nicer