Don't close module if opening failed during graphics initialization
Merge pull request #17 from reboot/master

Don't close module if opening failed during graphics initialization