squash php notices about undefined variables.
also fix spacing.
in printModifyForm: get rid of multi-line strings, use sprintf() heavily.
all over: fix spacing.
Merge pull request #5 from bifek/master

use sprintf() instead of multiline strings. fix php notices about undefined variables. fix spacing all over.