Random movement improved, duck death (including state machine) added.