added delete and implemented tick counter updating. i'm really tired of doing all this stuff state manipulation by hand, so this is where i'll stop my experimentation with reactjs.