app: port pattern loading to GIO