autoplay bug fixes from xml load and save