Changed how changes are pushed

This prevents a 413 error when there are a large number of changes
Added compression, fixed a few performance issues