Calculate basic statistics
Fix fire bg omitting
Save video
Set grid to rectangle and fix nextPos bounds check