Added more states to hero

Added Fade to Sound
Added rect to work with bounding boxes with negative dimensions
removed resetx resety
added sdl mutex, moved state and painter out