ValueError instead of wrong windows.

Closes #93.