Critical Transport and Vortex Dynamics in a Thin Atomic Josephson Junction.