Fixed some things, endgame still broke.