Big change: updated database, added ticks, fixed lifecycle etc.