fixes for merge and setaliasparent, basic sstats functionality