Fixing error messages from wrong dictionaries, and nicer testing
Fixing error messages for TTreeReaders, and adding warnings

Warnings when code with undefined behaviour is encountered