add log to wifisleep and more cleanup