Added various hooks, touch and non-touch code entry is handled in the same way now, added some comments, when entering a wron key in the sequence, the sequence has be entered from the start again