Unblock

Please comment and review.
Need a highlevel overview of what the functions in this file do.