removed redundant debug draw
setScale now has standard setter behavior
Added global resources table
Added global DEBUG option