When the application "ghosts", try one of the Pervasive tools like Function Executor or Pervasive Control Center. If you can connect to a data file or database and execute a query while the application is "ghosting," then the problem isn't related to Pervasive.
When I've seen applications hang, it's usually the application and not the database. PSQL 10 has been out for quite some time and I haven't heard of any other reports of hangs like you describe.
You might also check the PVSW.LOG file from a client seeing the hang / ghosting. Check for any entries around the time of the hang.