Implemented collision handling and basic menu dialogs