Builds on windows as well
Works on windows
Small cleanup
Cosmetics for windows
Fix bug deleting empty curves