more boring files
cm.hs: modernize and clean up warnings