windows support, improved error handling and usage page