Current .map() implementation is just bad...will give you lots of empty spaces if you have a big contact list.
Simplify this and add a test.
Throw out the overcomplicated method of determining whether or not a tx is from a known address, which allows deletion of associated function and unit tests not used anywhere else.