link theme: rc.lua small fixes + cleanup