improve server persistency and history saving
do not store games with id < 0
remove debug output in server
improve makefile