Update public header now KSWriter has been pared down
Latest KSWriter
Leak fixes