Added extract_images to logtool.

Logtool now extracts single images from a log file. Renamed extract to extract_log to be verbose on the type of extraction.
Yeah, buffer overflow is something I saw as a potential hazard but was copy pasting a code I had before and lazy to change. Will change to SS.