various small bug fixes
forgot to add index.html