Naming duplicates fixed using recursion and regexes. Bitmap orientation and scaling is now proper.