Fixed the bugs. It is now fully functional and bug free!