libembroidery error logging and cleanup.
Updated TODO list.
refactoring.
Empty Path/Polygon/Polyline Check.
Rectangle saving fixes.