Started implementing tick events, still some bugs to iron out