Add some Exceptions to help debugging
Fix opacity bug concerning pure black color (#0000)