Use Qt 5.3 categorized logging, fix coding style issues