encapsulated whois box now works

although code is now really a mess of sorts