Recently i downloaded SQL monitor for take a look on how it works.
It is quite amazing to see you create a simple UI for SQL monitor.
I faced one error 'The Object 'Approval_Category' does not exist in database Test123 or is invalid for this operation when try to tablespace analysis for database Test123.
Hope you can help to look into it.
Do you plan to support Azure SQL Server?
It will give the error "Keyword or statement option ''@@servicename" is not supported in this version of SQL Server" at this moment, and then stopped working.