strncpy buffer overflow fixed (FS#987)
Merge pull request #44 from kheyse/strncpy_overflow

strncpy buffer overflow fixed (FS#987)
Fixed some string format specifiers (long int vs int)
Only draw polygons with more than 1 point. wxWidgets 2.9.4 doesn't seem to like it if there's only 1 or less points (assertion error).