Debug viewscript, cache loading, constants renamed