Ensure that global vars are defined there.
Fixed bug when not using entry option.
Added option to collapse symbol information into simple module dependency.