Merge pull request #22 from pentium10/master

prevent page crash when a tube gets deleted between display calls
Update main.php

re-add the refresh button
Conflicts:
	lib/tpl/main.php
updated JS to support highlight fixes #21, closes #21