Fix chapterbib by forcing hyperref to the end.
Small fixes to swth
upquotes need textcomp, apparently loaded too late