Minor tweaks

old RES code removed
RES fixed headers updated