Bug fixes, score reset

- fixed another crash on ship upgrade screen
- fixed invisible entities
- performance boosts