I don't really have anything of substance I can offer you except to say that I used to have odd issues all the time between my 2016 (and now 2018) MBP and my LG 5K. When I first got them, sometimes I would plug in, but get no video until I rebooted my machine. The laptop screen would be functioning fine, but the external display would not activate until after a reboot.
At other times, plugging into my external display caused my MBP to crash and it would become entirely unresponsive until I forced it to power down and restarted it.
These incidents would happen sporadically. It usually happened a few times a week and I'd plug/unplug a few times a day. I always figured it was a software but that would get worked out. It seems to have. This rarely happens anymore to me, but occasionally it will take several tries of unplugging and replugging before I get video on my LG 5K.