fixed a bug where a strange search is fired if you hit the search button
before the map is completely loaded. Also fixed a bug in share
cart...only 10 layers could be shared since default number of rows
returned is 10