Added replay button, fixed some bugs too.