Working on some memory bugs.
Fixed memory management of guys.