Fixed bug when polling server. Also reduced server load.