Changed some variable defaults. Added testing stuff to index.html.