Deleted unused resources, added proper drawing code