Code Stabalized

Added checks for "Are already any images loaded?" to avoid crash of the
program when clicking on "Calculate Offset" when no images are loaded