TODO
----

- Add black & white and gray mode scanning (probably using pxscan code).

- Fix calibration code.

- Add validation & status checking code (e.g. check if a supported scanner is
present right after initialization code, check for timeouts and return code of
I/O functions etc.).

- Write a SANE driver (DONE).

- Document how the scanner works.
