Added entity support for record and replay.
Merge branch 'master' of https://github.com/guslerde/TickTock2
Record and replay power works! (However, recording same item twice will
crash.. hmm)