1. In our plugin installation, sometimes we need to check the default system permissions on installation.  This is fine if the site is already installed, but if we are doing a fresh installation this is problematic as in the InstallController, the standard permissions are created after the plugins are installed.  Suggestion is to move the registration of permissions lines 402 - 410, to be above the plugins installation line 380.

2. Sometimes as part of our plugin installation we check to ensure that another plugin is installed prior to installing our own plugin, again this is fine if the site installed prior but during a fresh installation this is problematic.  We use the group/display order to ensure that the required plugins are installed in appropriate order.  However when invoking to see if the plugin is installed it is failing as the plugins are not marked as installed.  Suggestion is to mark the plugin as installed add line 400 plugin.installed = true;