fixed billiard version, fixed event handling