LOTS of cleanup/fixes in parameter/technique parsing