Fix bug with nested object serialisation. Add cursor blinking. Fix string copy bugs.