Use jade, fix various smaller issues