sean-ified some code, removed some stuff already in main.lua, more verbose (log) on events