minor adjustments to mapscript

fix horrible resizing error, streamline destructor
Merge pull request #12 from SupSuper/master

minor adjustments to mapscript