Sorted out some TODOs. Added handling of sending reports in the unsent reports page