Resetting is working (in some way) now. Some bugs are still somewhere.