Improved graphs

Added refresh on timer (setInterval). Fixed broken functions in
getsms.php