kolo9 fixes syntax and buffering errors
Overhaul of cookiecontrol, added buttons, changed gui