restructured keyboardControlTask. Now part of main task
keyboard task now == main task