Fixing Stopall, removing useless functions.