refactored texture code
Some refactoring and new death animation
fixed a few bugs
Level editor and a whole bunch of bug fixes