Well, the gap is kinda intentional. I felt the 'cleanest' way of handling door rotation was for the door to not intersect or collide with its frame. The frame you see there doesn't come with the door, you can build whatever frame you like. Also, the door will take the color of the brick on which the door is mounted. Painting that brick will also change the color of the door. The gap around the door is uniform (even on all sides) and, even though it might not be what people are expecting, it should be the the most graceful approach.