Initial checking of custom action framework.
Code cleanup
Adding UI for native OSX version
Fixed broken tests