Removed compiler flag 'no-unused-local-typedefs'.
Code cleanup, removed 'unused' types/variables/defines. Less warnings (<10).
Fixed 'narrowing'-warning.
Merge pull request #109 from Seynen/develop

Update for backward compatibilty (GCC < v4.8)