renamed basename conflicting with sdl headers

* fixed nonexisting OpenCamera()
* added README.md build instructions
* fixed default exposure time to 1000ms
* stripped trailing spaces

this patch allows qhy5liiviewer.c build on my debian amd64.