Only use guess_main_ip for target if it is available
Fallback to using a case statement to guess class for check scanner if register_type fails (hack)
Workaround for graph datapoint 'alpha is null by default' API bug