Corrected keyboard interrupt code

Bugs pointed out by Harald Wille
Minor code cleanup
Tab cleanup
More tab fixes

‘Chocolat’ has made the ‘list’.
Add putpixel example program