Added further customization options and upgraded flot plugin