Doors functional, added constants, + minor changes