Update Maintenance.java

Finally implemented support for file indexing. I didn't have time to patch the bug in main allowing users to spawn multiple instances of the Maintenance window, but I did take steps in the backend of maintenance to make sure it doesn't overwrite the file list or index.