Changed a lot, fixed alot, fixed winning, fixed some memory leaks as well.