Added forced garbage collection when switching from the app.
Added `init.lua` to the search path (fixes `require 'dist'`).