add statistics (yearly spending), minor bug fixes