fixing a few minor bugs.\n it looks like jade is EXTREMELY slow on a RaspberryPi!? maybe we should switch to another view engine