Master statement fixes alot qdp

second attempt to have these fixes pushed into master.

This pull request includes a lot of fixes related to the new bank statement reconciliation widget.