added buffer macro
changing socket engine
using qt lists, fixed documentation