Allows manipulating and modifying the front-end via plugins.
This allows using the functions via Qt message queue. The reason for this is so a frontend API can queue these functions to call safely from another thread.
This is to prevent confusion both when prefixing commits and when reading the directory structure for the first time.