simplified reset_handler(). updated makefile to use new linkerscripts
messy merge, oops