added back tpls to lib, fixed multisig view