add advanced options to import
add advanced options to join
add purge to tx prosposals
add tests
fix isPending usage