Add stub framework for .pbp demos (nowhere near working). Fix an OSK crash.