Created 'RPi Debug' build profile. Fix remaining bugs on RPi.