Deal with off-target hostnames
Better mode and output device selection
Now with ceil() limits