receving: collect and pass data to php, small UI changes