Fix liteloader, some cleanups.