I will update today, and the update will contain a solution for every level (even the public ones)
To take the treasure you have to click it when near. It gets an x on it. If you did that, then exit through the door that is 2 squares to the right of the starting door. Today update will also feature a different door for exits :D