added other features and all...

a lot of other performance tweaks are done also.