fixes compiler hint about unused variable
code formatting: fixes the camel case of a function name.
Adds a new convenience function IsLoading to TfpgWidget
docview: replace some code with convenience function to make it more readable