Added shadow, removed excessive debug messages, added base support of orientation