general clean up

make some variables volatile
remove rx_buffer_next from header
more DEBUG output
fix warnings
coding conventions
change puts to DEBUG
rename end-context/stack
Merge pull request #227 from LudwigOrtmann/native_cleanup

Native cleanup