properly free accounts.

fixes a bug where successive calls to Accounts fail
support more transaction attributes