time marker saving/loading
cleaning up metadata code