Made web server run in a background process since it was causing the travis ci to hang. If this doesn't work then I will try xvfb to see if that changes anything