For your first question, please refer to this earlier thread:
For your second, please look at this one: