Cleaning up debugging and a bit of refactoring
Added library updating window and made downloading asynchronous