Fixed EmoActivity class to attempt copying database file only on packed mode.
Quit binding native closures with classes as it causes memory leaks. They are bound with tables now.
Also fixed some other memory leaks as well.