Potential fix for pdn and cleaned up Gameboy Plugin code.

Potential fix for pdn and cleaned up Gameboy Plugin code.