Implement flint_get_template and flint_get_widgets_template functions and add options
Fix spacing
Add comments back to Clear