applied Mew's fixes for certain gcc versions, removed unused chunk that caused warning
applied Mew's fixes for certain gcc versions, removed unused chunk that caused warning

nakijun/vtp,seanisom/vtp,seanisom/vtp,markraz/vtp,seanisom/vtp,markraz/vtp,markraz/vtp,nakijun/vtp,nakijun/vtp,markraz/vtp,nakijun/vtp,seanisom/vtp,seanisom/vtp,markraz/vtp,nakijun/vtp