Added a subtransaction table widget and tidied up imports