Client read slots algorithm - Cleaning up, adding error function, making sure that...