fixes an error in gui.js
starts adding repop animation
Merge branch 'master' into pixi