various fixes for livecode client implementation