North Queensland is in the grips of a major flood emergency after more than 24 hours of unrelenting rain in Townsville.