changes to receive logic to combat broken frames
works on windows netbook