Threaded plugs for rectangular tubes