Removed sleep and comms related code
Merge origin/master