GhettoProxy: reworked the serial buffer handling. Should fix atmega crash.