Updated PD Curses

Added Mouse Support
Renamed some functions
Added macros to make the code a bit more readable