Added advanced display options, you can now choose one of the following through the settings:
- Show Sum
- Show positive / negative
- show positive percentage
Added translation function (t()) to menu descriptions to make them translateable.
Prettyfied some code.
Changed database function calls to use the Drupal way of doing things (db_insert,db_delete,db_select functions) instead of using raw queries through db_query.