Add more debug info
Fix bug with totally black frame