uppercase extensions

Simple fix to allow uppercase extensions too :)

Also, some little PEP8 fixes (python guidelines)

BTW, what is I2b64Panel for ?