Fix a bug in Create_Overlay.
Close opened stream.
Remove some unused code.
Allow non-integral values for angles.