Fixed build or something
Implemented control frames

Oh, and fancy async locking