Some major updates:
  - added calling file/linenr for logging purposes
  - Removed the use of all APPL_* constants
  - Implemented a new way for loading applications which allow multiple apps to be called (not yet fully tested!)
  - and many minor updates/fixes