Dont concat empty titleparts
Made generator code consistent, fixes #86