further improvements in params parser + introduce (len=strlen) wherever found