library querying now works across front and backends. other small cosmetic improvements