Player invulnerability

- Added invulnerability on being hit.
- Further commented player code.
- Added pulsing on being hit as a visual indicator of invulnerability.
- Fixed enemy still damaging player after death.