fix some bugs; revised positioning mechanism; efficient for touch; prepare for packaging