Added sample size warning dialog and fixed start of play bug