- windows port (cmake, compiler issues)

- improved error handling