rational: we want to use theme() and co. more often and we didn't even notice we do so breaking the build since days ;=)
more #if stuff can be removed and we have already a proper build tutorial how to setup Kate + the needed Frameworks
@waqar @sars