Some testing for the local mix database, it is indeed the problem
Added some more tests to local mix database code
Wow, I was just missing the base case in replicateToMap. This is embarrassing.
 - changed tests to use my (a,b) instead of a == b directly
Tests fixed, LMD arbitrary instance needs strings that do not contain NULL
Used hlint on Backend and Local Mix Database to tidy miscellaneous things
Used HLint to clean up Tiberian Dawn too