Fixed Performance

Fixed the infinite loop running in the background, it now checks if an
element is null before attempting to remove it. Also started work on
throwing and getting exceptions to display. Files for login donated by
Noah Burrell, to maybe be used later.