Towns are beginning to open up again in north Queensland after being cut off for weeks with severe rain.