Press space while the mouse hovers above each door to unlock them. Drag to open. You may drag the blocks as well. (I am trying to make a simplified lag-reducing 2d physics engine, it's not fully complete yet though.
Based on machines outlined in "the Planiverse" (a novel by Dewdney about a 2-dimensional universe)