Fix tacho output.

Tacho non-linearity was because output was floating. Added 47k pull-down
to the output and it behaves itself. Adjusted code to suit.
LCD off when ignition off.
Dim with lights on. Move debounce.

250ms intervals was too granular for debounce. Moved in to main loop.
Hopefully differences in main loop execution time aren't noticeable.