updated gentris sample: added gameover sound, fixed minor bugs, refactoring (#497)