code cleanup
fix separators
get/print custom fields functions
page validity
Merge pull request #44 from sbillard/master

some theme fixes