editor example: file saving/loading bugfix