Fixed haminc files not being recognised as a mime type on linux. Fixes to the while stack loading. Break and continue do not work currently.