A bit of erro handling. Added contrast option and option to inverse black and white. Added help.