code style
make various *_view() -functions non-html compatible
do not order teachinganon_view by head
fix erroneous use of initval (would override values from db)