Remove trailing whitespace.
New wifi management functions.