The sketch is huge and does not fit in what is allowed (9500 chars) I have put the part that deals with the RC here
https://dl.dropboxusercontent.com/u/39488957/RC.ino