add lock for buffer
add some testing code...
Merge branch 'master' of https://github.com/Marth68/Informatik3-FuriousFour.git