working 'next tetromino' predictor in GUI