Fix segfault on invalid file open
Do not consider svg with empty path as invalid
Fixed segfault on model open with single-node path
Fix closed paths with one node