Fixed bad declaration
Fixed explicit conversion
Fixed wrong method usage
Added missing opening mode
Fixed dumb copy/paste error
Fixed variable initialization
Fixed bad declaration
Fixed explicit conversion
Fixed empty char
Fixed bad inheritation