sm: changed detect skills function: now accepts true AND false as arg to turn it on or off and withouth arg it will toggle

skill detecting will now be stopped when saving/deleting a profile.