Added better ajax updates. Updated Flot.