Fixed a couple of bugs and tested out static entities.