galaxy client: PEP8 and misc docs fixes