Porting to GHC 7.8.2

Mostly warning removal..