Finalize trick, show previous trick, fix bugs and constants.