Xinia,I think "doolallytap" is something to do with the seaport from which British soldiers in India were sent back to Blighty if they had "gone mad" in the heat.
Some,not surprisingly, used to feign illness to get sent home.
As regards old sayings, "handsome is,as handsome does" used to puzzle me when young.Now, I think it's very true.