Added preLoadFunc and forceLoad options. Added app reloading functionality. Added alternate route attribute handling. Added getLoadedApp function. Added destructor.