Fixed a few things.

Should run smoother and actually be able to preform half the functions in this library.