minor tweak
cleanup & speed improvement in Rdynload.c
bug fix
major mods to dotcode.c, duplicating scalars only if changed, fixing possible protect bug