Cleaned up Tracker.cpp

Tracker.cpp now features more responsible memory management in case of
errors during runtime and now has up-to-date comments.