Fixed blanking issues. Added flash support.