Fix everything after the dot being thrown away. Make clearImageName only remove file extension (if any)

Capitalize each word of image file name and use a dash instead of underscore