! some more pesky directory case changes

Signed-off-by: Spuds <spuds@spudsdesign.com>
! wrong variable used in the array or the return, your choice :P

Signed-off-by: Spuds <spuds@spudsdesign.com>
! spacing, tabs and the like that get found along the way

Signed-off-by: Spuds <spuds@spudsdesign.com>
! unused globals, missing docs and wrong variables fixed

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #316 from Spuds/bumpsalongtheway

A few more small issues fixed