fix: ROTYPE constants says SPIKE where it should
fix: changed PathPoint constructor so it checks the path argument as intended instead of the path in the selected object
fix: changed strings to work in XML
fix: check if path exist before using it