fix ASSBase:copy() not shallow-copying unindexed object properties, various small optimizations and bugfixes