Ukraine narrowly escapes nuclear catastrophe