fixes reference errors; #123
load: fixes reference bugs; fixes range mapping; #123
test: fixes configurations for test html; #123