updated to latest middleclass, gamera and bump. Corners giving trouble