Various fixes

- short tags
- class name
- fclose()