Bug fixes and optimizations.

Changes:
1) Some changes in the toolbar with new icons.
2) Some bug fixes in the project system.
3) Added custom code folding.