All functions working properly. Added header to change malloc to slug_malloc and free to slug_free during preprocessing. Still need to designate slug_memstats as exit handler.