Fix a crash.
Fix a crash and a dead-loop.
Add iPad and rotation supporting.
Add Text Alignment supporting.