Only simulate enter if there's another item in the queue, otherwise just clean up.
Parsed *.ui file after merge conflict to get the inventroy lookups counter.