Properly filter out newline only commits. Set Console output to utf-8 and start process to utf-8, in order to handle swedish characters, etc.