rewrote sprite pooling, added more network events