V1.0.7 files

this is a rebuild from V1.0.7 to try to fix some bugs  without breaking
other things.