Merged scripts from lemming552
Wait for current build queue to finish before building new ships
Allow to filter buildings to be upgraded by name match