Removed some accicental globalParam writes + avoid NPE

Avoiding NPE's by making initializing globalparams to empty hashmap
Tuned down logging