Removed extra extern and fixed exception with bitmapless nx files.

Signed-off-by: retep998 <retep998@verizon.net>