ApplicationEntry changes

Reworked the usage of ApplicationEntry a little, so hardcoded entries
can more easily be added (application exit and windows shutdown).