Resource leak fixes
Merge pull request #10 from Alicemargatroid/master

Resource leak fixes
Merge pull request #11 from Alicemargatroid/DevelopmentConst

Development const
Merge pull request #12 from Alicemargatroid/DevelopmentOptimize

Development optimize