Implemented autostart functionality for Windows. Pull request #30