WIP: Fix compiler warnings
This includes a LOT of changes, but I did test with multiple Maui apps and they all still run without error and compile cleanly with these changes.
Please review carefully.
EDIT: I seem to have broken something in index with these changes… "Show Folders First" causes Index to run away with 100% CPU. Needs more work.
Edited by camilo higuita