Fix readonly display of bug fields; move keywords code away from [% BLOCK input %]