added buldge functionality, working but not rendering. Segfault still on exit. Also added toggle ppoly to desktop version (disabled for now)