The pui.genie.afterInit event fires after Genie has initialized and applied automatic customizations, such as transforming function keys into buttons, but before any designer enhancements have been applied.
Example:
pui.genie.afterInit = function() { // custom code to handle the event would go here }