Misc fixes

Correctly define link and remove superflous `var set_theme`