fix camera. update doc. improve html and input reading.