Hi,
I've completed #3. Same problem existed in forums so I've fixed both:
- Calendar: http://xarg.net/tools/cvs/change-set-details?key=27592
- Forums: http://xarg.net/tools/cvs/change-set-details?key=27594
In OpenACS 5.4/dotLRN 2.4 this will be replaced by calls to the template::head API (https://openacs.org/xowiki/templatehead)