Merged changes from mike branch with touch regions and blinking.