Added stats popup, fixed minor glitches