do you want this?
![Image](http://img689.imageshack.us/img689/4905/nomoreblackscreens.png)
It is very simple:
https://github.com/OdnetninI/minetest/commit/7c4fffd41ef5a4e27cc457b4b9e19e0fb9f70926
And Comments to make more readable:
https://github.com/OdnetninI/minetest/commit/e49bd02c2d2c9812fa9365a48788dc51d741276e
And Recompile.
Thanks for reading