Beam stat caching, misc tweaks

* Try caching beam parameter calculations, so we're not doing useless
  math on every frame when neither max power nor beam count has changed.

* Only draw spawmed entities.

* Misc tweaks