fix mapnik2 issues
missing print locks
buffer 128 gave me a core dump