added action_ready? method to PluginFrame.rb
cleaned up Action.rb and PluginFrame.rb