Fix some bugs
Panning, improve search