Added TypeScript preview window. Fixed #401
Compiler: Fixed build error
Markdown: Added missing extensions to Margin
Code: Cleanup.