Code improvements. Better support for plugins cancelling the interact event, and made a small change to the UI