Fixed import issues. Fixed issue with image processing not finding lines, which would cause the program to crash.