replaced more containsKey() -> get() usages by a simple get(), followed by a test for NULL.

This should increase the application speed and reduces the lookup time for the affected methods by 50%