Fixed the homework logging code bug that bombs the activities when run
from HeadStartHTML. Only fixed for a couple of activity, still in
experimental phase.