Fixed bug where empty layer causes import to fail

On importing a layer with no polylines the module crashes. Checking if the default pointlist is empty allows the program to resume gracefully
Merge pull request #2 from eurochriskelly/master

Fixed bug where empty layer causes import to fail