Improved UserAction class.
Correctly connected with the rest of the UI.
Core connected with UI.