Remove unused head file main.h.
Support Left arrow and Right arrow