More bug fixes

better for sleep and fixed fast reactions friending problem