Better code for abort. Still a problem with glunMap