Fixed compiler warnings
Added dumpcount (dump more then once)

Signed-off-by: Swizzy <swizzy@hotmail.co.uk>