fnReceiveIdle now timesout
Updated fnReceiveActive to become event driven with timeouts
Updated code to comply with coding standards
Merge branch 'marc' into erel

made both threads barely work together and stuff; lots of debugging to do

going to repull from dev, and merge jonathan's new helper functions

Conflicts:
	receivethread.cpp
Merge branch 'dev' into erel

updated the helper code from dev

going to test until i see everything kinda works, then push to dev

Conflicts:
	helper.cpp
	helper.h
done merging dev and helper together

things don't actully work yet; data is not sent

jonathan will be overloading the fnSendData finction such that it can send
a single char, and packets too.