cleaned up ship drawing code