Removed unused ASYNC stuff and imports. Added a bunch of relevant comments.