make key mask generation more efficient.
made the cmds array static so it uses fewer resources.
WIP consolidate switch() in to a LUT.
Merge branch 'master' of github.com:xunker/phteven

Conflicts:
	phteven.ino