Clean implementation of errno variable.
Fix style and format of some source codes
Updates TODOs
Merge pull request #3 from griera/master

E1 test suite 100% passed