Making background fill slightly faster, and fixing broken ajax requests

As titled.